package com.zero2oneit.mall.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "mall.jwt")
@Component
public class JwtProperties {

    private String secret;// token秘钥，请勿泄露，请勿随便修改

    private String key;// token的key值

    private Integer expire;// 过期时间(单位：天)

	public Integer getExpire() {
		return expire;
	}

	public void setExpire(Integer expire) {
		this.expire = expire;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

}